package com.ferryc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ferryc.entity.Account;

/**
 * Created by Ferry Chen on 2019-11-06.
 */
public interface IAccountService extends IService<Account> {

    public void update(Account account);

    public void consume(String userId,double money);

    public  boolean checkBalance(String userId,double money);



}
